pass parameter to view laravel

49

pass parameter to view laravel -

Route::get('/', function () {
    return view('greeting', ['name' => 'James']);
});

Comments

Submit
0 Comments